projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e65b7
)
(debugger-eval-expression): Use a history list.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 22 Mar 1994 20:41:00 +0000
(20:41 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 22 Mar 1994 20:41:00 +0000
(20:41 +0000)
lisp/emacs-lisp/debug.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/debug.el
b/lisp/emacs-lisp/debug.el
index 1c44bac3405de5744334c272b7cfa99caad2ea03..150686ce4ce61ba58e4d74d272b0355c48983f6e 100644
(file)
--- a/
lisp/emacs-lisp/debug.el
+++ b/
lisp/emacs-lisp/debug.el
@@
-266,7
+266,11
@@
Applies to the frame whose line point is on in the backtrace."
(beginning-of-line))
(defun debugger-eval-expression (exp)
- (interactive "xEval: ")
+ "Eval an expression, in an environment like that outside the debugger."
+ (interactive
+ (list (read-from-minibuffer "Eval: "
+ nil read-expression-map t
+ 'read-expression-history)))
(save-excursion
(if (null (buffer-name debugger-old-buffer))
;; old buffer deleted